import * as types from './mutation-types'

const mutations = {
  [types.SET_USERINFO] (state, userInfo) {
    state.userInfo = userInfo
  },
  [types.SET_BACKBTN] (state, isShow) {
    state.isShowbackBtn = isShow
  },
}

export default mutations